package com.woniu.elderly.serve;

import com.woniu.common.configuration.MyBatisPlusConfiguration;
import com.woniu.common.configuration.RedisConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;


@Import({RedisConfiguration.class/*MyBatisPlusConfiguration.class*/})
@EnableDiscoveryClient
@MapperScan("com.woniu.elderly.serve.mapper")
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//排除依赖
@EnableFeignClients
public class ElderlyServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ElderlyServiceApplication.class, args);
    }
}